projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
dac0833
)
(sgml-guess-indent): Look further into the buffer.
author
Mike Williams
<mdub@bigfoot.com>
Wed, 22 May 2002 09:40:47 +0000
(09:40 +0000)
committer
Mike Williams
<mdub@bigfoot.com>
Wed, 22 May 2002 09:40:47 +0000
(09:40 +0000)
lisp/textmodes/sgml-mode.el
patch
|
blob
|
history
diff --git
a/lisp/textmodes/sgml-mode.el
b/lisp/textmodes/sgml-mode.el
index 58aec14b48bc3c8c1703c7a5499e06ba04410e2b..a9e13c7c4918d967eb2bafa52e7da06fd57f982a 100644
(file)
--- a/
lisp/textmodes/sgml-mode.el
+++ b/
lisp/textmodes/sgml-mode.el
@@
-1235,7
+1235,7
@@
Add this to `sgml-mode-hook' for convenience."
(interactive)
(save-excursion
(goto-char (point-min))
- (if (re-search-forward "^\\([ \t]+\\)<"
1
00 'noerror)
+ (if (re-search-forward "^\\([ \t]+\\)<"
5
00 'noerror)
(progn
(set (make-local-variable 'sgml-basic-offset)
(length (match-string 1)))